<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibTools: H:/project/LibTools/src/log/log.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibTools
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.16 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','搜索');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_2241064965c8d9ca993f08b926076f7d.html">log</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">log.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="log_8h.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef LOGS_H</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define LOGS_H</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160; </div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">/*****************************************************************************</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">*  @file     log.h                                                           *</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">*  @brief    该log不推荐使用,请使用SafeLog                                   *</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">*  @author   weiqi.li                                                        *</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">*  @email    wcmxiaolizi@foxmail.com                                         *</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">*  @remarks  仅dll内部使用的文件                                             *</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">*  @version  1.0.0.0                                                         *</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">*****************************************************************************/</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160; </div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#ifdef WIN32</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#   include &lt;direct.h&gt;</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">#   define F_OK    0</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">#elif defined LINUX</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160; </div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">#include &lt;string.h&gt;</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor">#include &lt;fstream&gt;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="_time_8h.html">time.h</a>&gt;</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">#include &lt;sstream&gt;</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">#include &quot;../thread/SharedPtr.h&quot;</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="logdef_8h.html">logdef.h</a>&quot;</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="preprocessor">#include &lt;iosfwd&gt;</span></div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160; </div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<a class="code" href="tools_8h.html#a201ce692c9dca6599e5c12d00167419b">DEF_BEG_LIBTOOLS</a></div>
<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="log_8h.html#a071fd3336e2fab8c70950233a50aa397">   28</a></span>&#160; </div>
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="log_8h.html#a6348c8eb0d993def1abc48cf9cc6ffbf">   29</a></span>&#160;<span class="preprocessor">#define ASTR</span></div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="preprocessor">#define CCT  (8) </span></div>
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="log_8h.html#a612428373724b228e831e6887b2304f8">   31</a></span>&#160; </div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="preprocessor">#define DIR_MAX 256</span></div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160; </div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="preprocessor">#if defined(WSTR)</span></div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="preprocessor">#define LOGSTR wchar_t</span></div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="preprocessor">#define OFILE  std::wofstream</span></div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">#define STATE  std::wofstream::out|std::wofstream::app</span></div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="preprocessor">#define SSTR   std::wstringstream</span></div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="preprocessor">#define USERCHS(os) {os.imbue(std::locale(&quot;chs&quot;));}</span></div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="preprocessor">#define TXT(str) L##str</span></div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="preprocessor">#define GETDIR _wgetcwd</span></div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="preprocessor">#define CRTFILE  _wfopen</span></div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="preprocessor">#define ACCESS   _waccess</span></div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="preprocessor">#define STRCAT   wcscat</span></div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="preprocessor">#define STRCPY   wcscpy</span></div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="preprocessor">#define STRLEN   wcslen</span></div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="log_8h.html#a32ffe8467929b73e36efd042b380e7d3">   47</a></span>&#160;<span class="preprocessor">#elif defined(ASTR)</span></div>
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="log_8h.html#a278cf415676752815cfb411cb0b32802">   48</a></span>&#160;<span class="preprocessor">#define LOGSTR char</span></div>
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="log_8h.html#a72ce0c80d97a3c76239e560d51717951">   49</a></span>&#160;<span class="preprocessor">#define STRLEN strlen</span></div>
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="log_8h.html#aacd2cf60f504e45efada9aec028ee3cd">   50</a></span>&#160;<span class="preprocessor">#define OFILE  std::ofstream</span></div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="log_8h.html#a2b6c554d561f1bde365523e4904fa8ca">   51</a></span>&#160;<span class="preprocessor">#define STATE  std::ofstream::out|std::ofstream::app</span></div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="log_8h.html#a22d5c639d832d1a925dddc0bc45736dd">   52</a></span>&#160;<span class="preprocessor">#define TXT(str) str</span></div>
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="log_8h.html#a981e56652da79411d62f65b03f317c3b">   53</a></span>&#160;<span class="preprocessor">#define USERCHS(os)</span></div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="log_8h.html#a72f79e571b60545740afac330bda9abc">   54</a></span>&#160;<span class="preprocessor">#define GETDIR _getcwd </span></div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="log_8h.html#a321a20f839f3d9ccd0db1dc865850dc7">   55</a></span>&#160;<span class="preprocessor">#define CRTFILE fopen</span></div>
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="log_8h.html#a6b5028642a5cef8d6f66086caa6f7933">   56</a></span>&#160;<span class="preprocessor">#define ACCESS  _access</span></div>
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="log_8h.html#a13f4eb5ea5f2c6596fc35c2fa5832640">   57</a></span>&#160;<span class="preprocessor">#define STRCAT  strcat</span></div>
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="log_8h.html#ac4a2548aa9c44fcd11a1d8c5273acbdb">   58</a></span>&#160;<span class="preprocessor">#define SSTR std::stringstream</span></div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;<span class="preprocessor">#define STRCPY strcpy</span></div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;<span class="preprocessor">#endif </span></div>
<div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="log_8h.html#a0749bd519257b20f17a00b92b60a5229">   61</a></span>&#160; </div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="log_8h.html#a598614497618c67555cca9bedcb366f0">   62</a></span>&#160;<span class="preprocessor">#define PLOGSTR LOGSTR*</span></div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;<span class="preprocessor">#define CPLOGSTR const LOGSTR*</span></div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="log_8h.html#a74df3c2fd777bb47b9b7149043074119">   64</a></span>&#160; </div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;<span class="preprocessor">#define ENDSYMBCHECK(sPath,iLen) { if (_sPath[iLen - 1] != &#39;/&#39; &amp;&amp; _sPath[iLen - 1] != &#39;\\&#39;){ if (_sPath[iLen - 1] != &#39;/&#39;){ _sPath[iLen++] = &#39;/&#39;; _sPath[iLen] = 0; }}}</span></div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160; </div>
<div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="class_logs.html">   67</a></span>&#160; </div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;<span class="keyword">class </span><a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <a class="code" href="class_logs.html">Logs</a></div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;{</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;    <a class="code" href="log_8h.html#a598614497618c67555cca9bedcb366f0">CPLOGSTR</a> defaultPath();</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    <a class="code" href="log_8h.html#a598614497618c67555cca9bedcb366f0">CPLOGSTR</a> GetLevelStr(<span class="keywordtype">int</span> iLevel);</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;<span class="comment">     *日志初始化</span></div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;<span class="comment">     *iLevel:日志等级</span></div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;<span class="comment">     *sPath:生成日志的路径</span></div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;    <a class="code" href="class_logs.html">Logs</a>(<span class="keywordtype">int</span> iLevel, <a class="code" href="log_8h.html#a598614497618c67555cca9bedcb366f0">CPLOGSTR</a> sPath);</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;<span class="comment">     * 是否打开或创建默认的生成的日志文件</span></div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;    <a class="code" href="class_logs.html">Logs</a>(<span class="keywordtype">bool</span> bOpen = <span class="keyword">true</span>);</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;    ~<a class="code" href="class_logs.html">Logs</a>();</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;    <span class="keywordtype">void</span> Close();</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;    <span class="keywordtype">bool</span> operator ! ();</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;<span class="comment">     * 重新设置日志文件的路径</span></div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;    <span class="keywordtype">bool</span> reopenLog(<a class="code" href="log_8h.html#a598614497618c67555cca9bedcb366f0">CPLOGSTR</a> sPath);</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;    <span class="comment">// 返回当前文件路径</span></div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;    <a class="code" href="log_8h.html#a598614497618c67555cca9bedcb366f0">CPLOGSTR</a> getCurPath();</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;    <span class="comment">// 创建一个文件</span></div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;    <span class="keywordtype">bool</span> createFile(<a class="code" href="log_8h.html#a598614497618c67555cca9bedcb366f0">CPLOGSTR</a> sFileName);</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;    <span class="comment">// 测试文件是否存在</span></div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;    <span class="keywordtype">bool</span> fileExists(<a class="code" href="log_8h.html#a598614497618c67555cca9bedcb366f0">CPLOGSTR</a> sFileName);</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;    <a class="code" href="log_8h.html#a598614497618c67555cca9bedcb366f0">CPLOGSTR</a> getCurTime();</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;    <span class="comment">// 年-月-日</span></div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;    <a class="code" href="log_8h.html#a598614497618c67555cca9bedcb366f0">CPLOGSTR</a> getCurDate();</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;    <span class="comment">// 写日志</span></div>
<div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="class_logs.html#a7c4d647557225027f263e062eb598572">  101</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_logs.html#a7c4d647557225027f263e062eb598572">WriteLog</a>(<a class="code" href="log_8h.html#a598614497618c67555cca9bedcb366f0">CPLOGSTR</a> szMsg,<span class="keywordtype">int</span> iSize,<span class="keywordtype">int</span> iLogLevel);</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;    <span class="keywordtype">int</span> WriteLog(<a class="code" href="log_8h.html#a598614497618c67555cca9bedcb366f0">CPLOGSTR</a> szLog, <a class="code" href="logdef_8h.html#aca1fd1d8935433e6ba2e3918214e07f9">LogLevel</a> nLogLevel) { <span class="keywordflow">return</span> WriteLog(szLog, 0, nLogLevel); }</div>
<div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="class_logs.html#a392cb4fba0944c1a6f032cfd5b45a20e">  103</a></span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="class_logs.html#aa9bc102cb2fe409993ed07fd67c41b66">  104</a></span>&#160;    <a class="code" href="log_8h.html#a32ffe8467929b73e36efd042b380e7d3">LOGSTR</a> _sPath[<a class="code" href="log_8h.html#a612428373724b228e831e6887b2304f8">DIR_MAX</a>];</div>
<div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="class_logs.html#a6a94539b15985728880fb87d4306d066">  105</a></span>&#160;    <a class="code" href="log_8h.html#a32ffe8467929b73e36efd042b380e7d3">LOGSTR</a> _sTime[<a class="code" href="log_8h.html#a612428373724b228e831e6887b2304f8">DIR_MAX</a>];</div>
<div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="class_logs.html#afc057cc6ed726862c17523c42e9de605">  106</a></span>&#160;    <span class="keywordtype">int</span> _iLogLevel;</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;    <a class="code" href="log_8h.html#a72ce0c80d97a3c76239e560d51717951">OFILE</a> *_ofile;</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;};</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160; </div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;<a class="code" href="tools_8h.html#ac909db71799bb22cb7d636a34cd785e4">DEF_END_LIBTOOLS</a></div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160; </div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;<span class="preprocessor">#endif</span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="alogdef_8h_html_aca1fd1d8935433e6ba2e3918214e07f9"><div class="ttname"><a href="logdef_8h.html#aca1fd1d8935433e6ba2e3918214e07f9">LogLevel</a></div><div class="ttdeci">LogLevel</div><div class="ttdef"><b>Definition:</b> <a href="logdef_8h_source.html#l00010">logdef.h:10</a></div></div>
<div class="ttc" id="alog_8h_html_a598614497618c67555cca9bedcb366f0"><div class="ttname"><a href="log_8h.html#a598614497618c67555cca9bedcb366f0">CPLOGSTR</a></div><div class="ttdeci">#define CPLOGSTR</div><div class="ttdef"><b>Definition:</b> <a href="log_8h_source.html#l00062">log.h:62</a></div></div>
<div class="ttc" id="aclass_logs_html"><div class="ttname"><a href="class_logs.html">Logs</a></div><div class="ttdef"><b>Definition:</b> <a href="log_8h_source.html#l00067">log.h:67</a></div></div>
<div class="ttc" id="alogdef_8h_html"><div class="ttname"><a href="logdef_8h.html">logdef.h</a></div></div>
<div class="ttc" id="atools_8h_html_a201ce692c9dca6599e5c12d00167419b"><div class="ttname"><a href="tools_8h.html#a201ce692c9dca6599e5c12d00167419b">DEF_BEG_LIBTOOLS</a></div><div class="ttdeci">#define DEF_BEG_LIBTOOLS</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00036">tools.h:36</a></div></div>
<div class="ttc" id="atools_8h_html_a64152c8b939d1ce06c7c5cb6c97b62f8"><div class="ttname"><a href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a></div><div class="ttdeci">#define LIBTOOLS</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00095">tools.h:95</a></div></div>
<div class="ttc" id="alog_8h_html_a612428373724b228e831e6887b2304f8"><div class="ttname"><a href="log_8h.html#a612428373724b228e831e6887b2304f8">DIR_MAX</a></div><div class="ttdeci">#define DIR_MAX</div><div class="ttdef"><b>Definition:</b> <a href="log_8h_source.html#l00031">log.h:31</a></div></div>
<div class="ttc" id="atools_8h_html_ac909db71799bb22cb7d636a34cd785e4"><div class="ttname"><a href="tools_8h.html#ac909db71799bb22cb7d636a34cd785e4">DEF_END_LIBTOOLS</a></div><div class="ttdeci">#define DEF_END_LIBTOOLS</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00038">tools.h:38</a></div></div>
<div class="ttc" id="a_time_8h_html"><div class="ttname"><a href="_time_8h.html">Time.h</a></div></div>
<div class="ttc" id="aclass_logs_html_a7c4d647557225027f263e062eb598572"><div class="ttname"><a href="class_logs.html#a7c4d647557225027f263e062eb598572">Logs::WriteLog</a></div><div class="ttdeci">int WriteLog(CPLOGSTR szLog, LogLevel nLogLevel)</div><div class="ttdef"><b>Definition:</b> <a href="log_8h_source.html#l00101">log.h:101</a></div></div>
<div class="ttc" id="alog_8h_html_a32ffe8467929b73e36efd042b380e7d3"><div class="ttname"><a href="log_8h.html#a32ffe8467929b73e36efd042b380e7d3">LOGSTR</a></div><div class="ttdeci">#define LOGSTR</div><div class="ttdef"><b>Definition:</b> <a href="log_8h_source.html#l00047">log.h:47</a></div></div>
<div class="ttc" id="alog_8h_html_a72ce0c80d97a3c76239e560d51717951"><div class="ttname"><a href="log_8h.html#a72ce0c80d97a3c76239e560d51717951">OFILE</a></div><div class="ttdeci">#define OFILE</div><div class="ttdef"><b>Definition:</b> <a href="log_8h_source.html#l00049">log.h:49</a></div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.16
</small></address>
</body>
</html>
